{% extends "layout.html" %}
{% block title %}系统登录{% endblock %}

{% block clientscript %}
        {{super()}}
	   	<script language="javascript" type="text/javascript" src="{{ url_for('static',filename='js/myjs/login.js') }}"></script>
	   {% endblock clientscript %}
<link rel="stylesheet" type="text/css" href="/static/libs/bootstrap/css/bootstrap.min.css" />

{% block body%}
    {% from "snippet.html" import render_field %}
    <div class="container" style=" margin-top: 245px; width: 430px ;background-color: #EFF5FF" >
      <div class="container" style="width: 260px; ">
    <form class="form-signin" action="" method="post" name="login">
    	<dl>
	      {{form.csrf_token}}
            <h2 class="form-signin-heading" style="font-weight:bold;">登录</h2>
	      {{render_field(form.username,False,class="form-control",placeholder="用户名" ,required=autofocus)}}
	      {{render_field(form.password,False,class="form-control",placeholder="密码")}}
	      {{render_field(form.remember_me)}}

	      {#{render_field(form.recaptcha)}#}
      </dl>
      {{form.submit(id='abc',class="btn btn-lg btn-primary btn-block")}}
    </form>
    {% include 'flash.html' %}
	</div>
    
{% endblock %}{#end body#}
